package ua.edu.nuos.jeetraining2012.automator.core.runner.feed.adapter.api;

import ua.edu.nuos.jeetraining2012.automator.core.vo.message.Message;

import java.util.List;

/**
 * User: timur.yarosh
 * Date: 26.06.13
 * Time: 1:57
 */
public interface IFeedAdapter {
    /**
     * Get new messages id
     * @return list with ids
     */
    List<Message> messages();

    /**
     * Wait for new message
     */
    void waitMessage();
}
